<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript">
        var num1 = 1;
        var num2 = 2;
        var result = num1 + num2;
        console.log(result);
        var str = "10";
        console.log(num1 + str);
        var result2 = num1 + parseInt(str);
        console.log(result2);
    </script>
</head>
<body>

</body>
</html>